#go.sh [numThreads] [msTime] [numRounds] [numClients]"
default: client server singlethreaded doubleclients
fiveclientsmultithreaded: client server removeIPC
	./go.sh 100 2 3 5 5
fiveclients: client server removeIPC
	./go.sh 10 2 30 5 5
onehundredthreads: client server removeIPC
	./go.sh 100 1 30 1 5
fiftythreads: client server removeIPC
	./go.sh 50 2 30 1 5
doublethreads: client server removeIPC
	./go.sh 3 2 30 1 5
doubleclients: client  server removeIPC
	./go.sh 2 1 3 2 5 
singlethreaded: client  server removeIPC
	./go.sh 1 2 30 1 5 
client: client.c client.h
	gcc -g -pthread client.c -o client;
server: server.c server.h
	gcc -g -pthread -lm server.c -o server;
removeIPC:
	killall client;killall server;ksh remove.sh
clean:
	rm client server
